package inet.db.tennis;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class TennisEvent {
	public static int SPECIAL_POINT_DEFAULT = 0;
	public static int SPECIAL_BREAK_POINT = 1;
	public static int SPECIAL_SET_POINT = 2;
	public static int SPECIAL_MATCH_POINT = 3;
	public static int SPECIAL_BREAK_POINT_SET_POINT = 4;
	public static int SPECIAL_MATCH_POINT_SET_POINT = 5;
	
	private BigDecimal id;
	private BigDecimal matchId;
	private BigDecimal setId;
	private BigDecimal gameId;
	private String score1;
	private String score2;
	private int specialPoint;
	private Timestamp genDate;
	private Timestamp lastUpdated;
	private int serve; // Giao bong trong set tie-break
	
	public BigDecimal getId() {
		return id;
	}
	public void setId(BigDecimal id) {
		this.id = id;
	}
	public BigDecimal getMatchId() {
		return matchId;
	}
	public void setMatchId(BigDecimal matchId) {
		this.matchId = matchId;
	}
	public BigDecimal getSetId() {
		return setId;
	}
	public void setSetId(BigDecimal setId) {
		this.setId = setId;
	}
	public BigDecimal getGameId() {
		return gameId;
	}
	public void setGameId(BigDecimal gameId) {
		this.gameId = gameId;
	}
	public String getScore1() {
		return score1;
	}
	public void setScore1(String score1) {
		this.score1 = score1;
	}
	public String getScore2() {
		return score2;
	}
	public void setScore2(String score2) {
		this.score2 = score2;
	}
	public int getSpecialPoint() {
		return specialPoint;
	}
	public void setSpecialPoint(int specialPoint) {
		this.specialPoint = specialPoint;
	}
	public Timestamp getGenDate() {
		return genDate;
	}
	public void setGenDate(Timestamp genDate) {
		this.genDate = genDate;
	}
	public Timestamp getLastUpdated() {
		return lastUpdated;
	}
	public void setLastUpdated(Timestamp lastUpdated) {
		this.lastUpdated = lastUpdated;
	}
	public int getServe() {
		return serve;
	}
	public void setServe(int serve) {
		this.serve = serve;
	}
	
}
